package com.yuda.campsite.service.impl;

import com.yuda.campsite.domain.ShouHuoDiZhi;
import com.yuda.campsite.dto.ShouHuoDiZhiParam;
import com.yuda.campsite.mapper.ShouHuoDiZhiMapper;
import com.yuda.campsite.service.ShouHuoDiZhiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ShouHuoDiZhiServiceImpl  implements ShouHuoDiZhiService {
    @Autowired
    private ShouHuoDiZhiMapper shouHuoDiZhiMapper;
    @Override
    public List<ShouHuoDiZhi> ShouHuoDiZhiLieBiao(ShouHuoDiZhiParam shouHuoDiZhiParam) {
        List<ShouHuoDiZhi> shouHuoDiZhis = shouHuoDiZhiMapper.ShouHuoDiZhiLieBiao(shouHuoDiZhiParam);
        return  shouHuoDiZhis;
    }

    @Override
    public ShouHuoDiZhi ShouHuoDiZhiChaKan(ShouHuoDiZhiParam shouHuoDiZhiParam) {
        ShouHuoDiZhi shouHuoDiZhi = shouHuoDiZhiMapper.ShouHuoDiZhiChaKan(shouHuoDiZhiParam);
        return shouHuoDiZhi;
    }

    @Override
    public Integer ShouHuoDiZhiXiuGai(ShouHuoDiZhiParam shouHuoDiZhiParam) {
        return shouHuoDiZhiMapper.ShouHuoDiZhiXiuGai(shouHuoDiZhiParam);
    }

    @Override
    public List<ShouHuoDiZhi> DaoBiaoChaXun(ShouHuoDiZhiParam shouHuoDiZhiParam) {
        List<ShouHuoDiZhi> shouHuoDiZhis = shouHuoDiZhiMapper.DaoBiaoChaXun(shouHuoDiZhiParam);
        return shouHuoDiZhis;
    }
}
